package com.weds.data_sync.service;

import org.springframework.web.reactive.function.client.WebClient;

/**
 * @Description 执行方案抽象
 * @Author lihw
 * @Date 2024/1/2 16:39
 */
public interface ExecutePlan {

    /**
     * 同步执行执行方案
     * @param params
     * @return
     */
    Object executeScript(Object... params);

    /**
     * 异步执行执行方案
     * @param params
     * @return
     */
    void executeScriptAsync(WebClient webClient, Object... params);

}
